package com.yykj.hospital.client.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yykj.common.enums.HospitalOnlineTypeEnum;
import com.yykj.common.util.serializer.LocalDate2LongSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class HospitalSettingOnlineDTO {
    private Integer id;
    @ApiModelProperty("医院ID")
    private Integer hospitalId;
    @ApiModelProperty("在线问诊类型")
    private HospitalOnlineTypeEnum type;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("服务时长")
    private Integer time;
    @ApiModelProperty("说明")
    private String detail;
    @ApiModelProperty("启用停用状态")
    private Boolean status;
    @JsonSerialize(using = LocalDate2LongSerializer.class)
    private LocalDateTime addTime;
    @JsonSerialize(using = LocalDate2LongSerializer.class)
    private LocalDateTime modifyTime;
}
